package com.jeff.tianti.org.dao;

import com.jeff.tianti.common.dao.CommonDao;
import com.jeff.tianti.org.entity.Volunteer;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @author guost
 * @Date 2019/2/9 11:49
 **/
public interface VolunteerDao extends VolunteerCustomDao,CommonDao<Volunteer,String> {
    @Query("select r from Volunteer r where r.deleteFlag = 0 order by r.updateDate")
    List<Volunteer> getVolunteerList();
}
